<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - Directory _lhmf/src/it/polito/ai/lhmf/controllers/ajax/</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>Directory _lhmf/src/it/polito/ai/lhmf/controllers/ajax/</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a></div>
<dl class="attributes">
    <dt>Directory Created:</dt>
    <dd><span class="date">2012-07-12 14:34</span></dd>
    <dt>Total Files:</dt>
    <dd>7</dd>
    <dt>Deleted Files:</dt>
    <dd>0</dd>
    <dt>Lines of Code:</dt>
    <dd>1187</dd>
</dl>
<p class="dirtree">
<a href="dir.html">[root]</a>/<a href="dir__lhmf.html">_lhmf</a>/<a href="dir__lhmf_src.html">src</a>/<a href="dir__lhmf_src_it.html">it</a>/<a href="dir__lhmf_src_it_polito.html">polito</a>/<a href="dir__lhmf_src_it_polito_ai.html">ai</a>/<a href="dir__lhmf_src_it_polito_ai_lhmf.html">lhmf</a>/<a href="dir__lhmf_src_it_polito_ai_lhmf_controllers.html">controllers</a>/<strong>ajax</strong><br/>
</p>

<div class="section">
<h2>Lines of Code</h2>
<p class="chart"><img src="loc_module__lhmf_src_it_polito_ai_lhmf_controllers_ajax.png" alt="_lhmf/src/it/polito/ai/lhmf/controllers/ajax/ Lines of Code" width="800" height="500" /></p></div>
<div class="section">
<h2>Developers</h2>
  <table  rules="groups" summary="All authors and the number of their changes and lines of code in this directory">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Author</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <th>Totals</th>
        <td>34 (100.0%)</td>
        <td>1772 (100.0%)</td>
        <td>52.1</td>
      </tr>
    </tfoot>
    <tbody>
      <tr  class="odd">
        <th><a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a></th>
        <td>20 (58.8%)</td>
        <td>881 (49.7%)</td>
        <td>44.0</td>
      </tr>
      <tr  class="even">
        <th><a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a></th>
        <td>10 (29.4%)</td>
        <td>847 (47.8%)</td>
        <td>84.7</td>
      </tr>
      <tr  class="odd">
        <th><a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a></th>
        <td>4 (11.8%)</td>
        <td>44 (2.5%)</td>
        <td>11.0</td>
      </tr>
    </tbody>
  </table>

</div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="20"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-25 12:59</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">180</span></span>
  </dt>
  <dd>
    <p class="comment">
Modifiche dopo l'upgrade del database e aggiunte al controllore delle schede
    </p>
    <p class="commitdetails"><strong>33</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        PurchaseAjaxController.java&#160;<span class="change">(+33&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="19"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-24 18:52</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">172</span></span>
  </dt>
  <dd>
    <p class="comment">
Creazione prodotto + categoria terminata; da testare
    </p>
    <p class="commitdetails"><strong>245</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        ProductAjaxController.java&#160;<span class="change">(+48&#160;-2)</span>,
        ProductCategoryAjaxController.java&#160;<span class="change">(+6&#160;-2)</span>,
        SupplierAjaxController.java&#160;<span class="change">(+191&#160;-125)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="18"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-20 16:21</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">158</span></span>
  </dt>
  <dd>
    <p class="comment">
Pannello Admin Completato. (Bisogna fare tutta la parte relativa ad ordini e prodotti). Implementato anche la generazione delle password. Modificato modalità di invio email. Implementato l'authMail in modo tale che attivi direttamente l'account se è stato creato dall'admin (Ancora da Testare). <br />
<br />
Perfavore se trovate bug fatemelo sapere. 
    </p>
    <p class="commitdetails"><strong>143</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+79&#160;-18)</span>,
        SupplierAjaxController.java&#160;<span class="change">(+64&#160;-32)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="17"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-20 00:52</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">156</span></span>
  </dt>
  <dd>
    <p class="comment">
Attiva Membri Completato. Risolti bug registrazione. Qualche piccolezza ancora da fare.
    </p>
    <p class="commitdetails"><strong>306</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+66&#160;-148)</span>,
        SupplierAjaxController.java&#160;<span class="change">(+240&#160;-6)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="16"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-19 21:45</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">155</span></span>
  </dt>
  <dd>
    <p class="comment">
Finito attivazione Account da parte dell'admin. Per ora funziona solo per membri e responsabili. Devo ancora integrare fornitori.
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+3&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="15"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-19 20:42</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">154</span></span>
  </dt>
  <dd>
    <p class="comment">
Forse fixato bug controllore ajax activeMember; testare
    </p>
    <p class="commitdetails"><strong>7</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+7&#160;-7)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="14"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-19 18:46</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">153</span></span>
  </dt>
  <dd>
    <p class="comment">
Sto lavorando sulla lista membri da attivare. 
    </p>
    <p class="commitdetails"><strong>59</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+59)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="13"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-19 00:33</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">151</span></span>
  </dt>
  <dd>
    <p class="comment">
Registrazione Forenitore Completata. <br />
<br />
Cose da fare/aggiustare:<br />
- Generare le password ed inviarle all'email.<br />
- Modificare l'authMail affinche attivi anche i suppliers (ora fa solo membri e responsabili)<br />
- Modificare il getMembersRespString in modo che restituisca solo i membri attivati.
    </p>
    <p class="commitdetails"><strong>157</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+157&#160;-42)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="12"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-18 18:34</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">150</span></span>
  </dt>
  <dd>
    <p class="comment">
Lato client impostato per registrare responsabili e fornitori. Manca lato server. Sarà fatto presto abbiate fede.
    </p>
    <p class="commitdetails"><strong>67</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+67&#160;-19)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="11"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-18 11:25</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">145</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>6</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        OrderAjaxController.java&#160;<span class="change">(+3)</span>,
        PurchaseAjaxController.java&#160;<span class="change">(+3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="10"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-17 23:59</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">142</span></span>
  </dt>
  <dd>
    <p class="comment">
Non entra nel metodo ajax/newMember. Non riesco a capire il perchè. 
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="9"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-17 22:18</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">141</span></span>
  </dt>
  <dd>
    <p class="comment">
Modificato il controllo ajax per newmember. Sezione admin ancora da finire.
    </p>
    <p class="commitdetails"><strong>111</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="change">(+111&#160;-5)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="8"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-15 18:45</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">127</span></span>
  </dt>
  <dd>
    <p class="comment">
Fixed bug on Product CRUD
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        ProductAjaxController.java&#160;<span class="change">(+3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="7"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-15 17:11</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">123</span></span>
  </dt>
  <dd>
    <p class="comment">
Tolte annotazioni JSONSerialize/Deserialize da classi orm package - fa tutto il CustomObjectMapper; aggiunto il deserializzatore per ProductCategory; aggiunta funzione per ricevere i prodotti solo del supplier che fa la richiesta; corrette alcune query hql delle interfacce (per la prossima revisione saranno tutte corrette)
    </p>
    <p class="commitdetails"><strong>13</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        ProductAjaxController.java&#160;<span class="change">(+13)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="6"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-14 11:09</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">103</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>5</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        PurchaseAjaxController.java&#160;<span class="change">(+5&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="5"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 18:00</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">95</span></span>
  </dt>
  <dd>
    <p class="comment">
Added CRUD+Ajax controller+Hibernate interface for Member; need testing
    </p>
    <p class="commitdetails"><strong>78</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        MemberAjaxController.java&#160;<span class="new">(new&#160;78)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 17:02</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">93</span></span>
  </dt>
  <dd>
    <p class="comment">
Added MemberDeserializer; regDate have to be serialized?
    </p>
    <p class="commitdetails"><strong>42</strong> lines of code changed in <span class="files">5 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        OrderAjaxController.java&#160;<span class="change">(+7&#160;-13)</span>,
        ProductAjaxController.java&#160;<span class="change">(+8&#160;-42)</span>,
        ProductCategoryAjaxController.java&#160;<span class="change">(+14&#160;-45)</span>,
        PurchaseAjaxController.java&#160;<span class="change">(+2&#160;-8)</span>,
        SupplierAjaxController.java&#160;<span class="change">(+11&#160;-44)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 16:10</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">92</span></span>
  </dt>
  <dd>
    <p class="comment">
CRUD and ajax for Supplier; unable to test -&gt; to do as soon as possible; added class to deserialize Date from JSON to Java
    </p>
    <p class="commitdetails"><strong>111</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        SupplierAjaxController.java&#160;<span class="new">(new&#160;111)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-12 15:53</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">90</span></span>
  </dt>
  <dd>
    <p class="comment">
CRUD and ajax completed for Product and ProductCategory
    </p>
    <p class="commitdetails"><strong>110</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        ProductAjaxController.java&#160;<span class="change">(+66&#160;-6)</span>,
        ProductCategoryAjaxController.java&#160;<span class="change">(+44&#160;-12)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-12 14:34</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">89</span></span>
  </dt>
  <dd>
    <p class="comment">
Controllers refactoring complete; check for bugs
    </p>
    <p class="commitdetails"><strong>272</strong> lines of code changed in <span class="files">5 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/controllers/ajax</strong>:
        LogAjaxController.java&#160;<span class="new">(new&#160;33)</span>,
        OrderAjaxController.java&#160;<span class="new">(new&#160;57)</span>,
        ProductAjaxController.java&#160;<span class="new">(new&#160;47)</span>,
        ProductCategoryAjaxController.java&#160;<span class="new">(new&#160;79)</span>,
        PurchaseAjaxController.java&#160;<span class="new">(new&#160;56)</span>
      </li>
    </ul>
  </dd>

</dl>

</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>